<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta name="Generator" content="FLSHOP" />
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width"/>
<title>通知</title>
<meta name="Keywords" content="" />
<meta name="Description" content="" />
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
<script type="text/javascript" src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
<link href="https://cdn.bootcss.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet"/>
<link href="https://cdn.bootcss.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"/>
<style type="text/css">
	body {
	    font-family: '微软雅黑', cursive;
	    background-color: #B396FF;
		color: #fff;
	}
	.pad-top {
	    padding-top:60px;
	}
	.text-center {
	    text-align:center;
	}
	#error-link {
	    font-size:150px;
	    padding:10px;
	}
</style>
<script  th:inline="javascript" type="text/javascript">
	/*<![CDATA[*/
var success = [[${success}]]
var message = [[${message}]];
var voteId =  [[${voteid}]];
var itemId =  [[${itemid}]];
var msg = 	  [[${Msg}]]
var votehtml= [[${votehtml}]]
function redirect()
{
	console.log(voteId);
	console.log(itemId);
	console.log(votehtml);	
	if(voteId ==""&&itemId=="")
	{
		$("#h4_Msg").html(msg);
	}
	else
	{
		if(itemId == null || itemId == ""){
			 window.location.href = votehtml + "/?1=1&voteid=" + voteId ;
		}else{
			 window.location.href = votehtml + "/?1=1&itemid=" + itemId ;
		}	
	}
}
$(function(){
	redirect();
});
/*]]>*/
</script>


</head>
<body >
	<div class="container">
		<div class="row pad-top text-center">
			<div class="col-md-6 col-md-offset-3 text-center">
				<h1>What have you done?</h1>
				<h5 id="h4_Msg"></h5>
				<span id="error-link"></span>
				<h2>! ERROR DECETED !</h2>
			</div>
		</div>
		<div class="row text-center">
			<div class="col-md-8 col-md-offset-2">
				<h3>
					<i  class="fa fa-lightbulb-o fa-5x"></i>
				</h3>
				<a href="#" class="btn btn-primary">请重新进入链接</a> <br />
			</div>
		</div>
	</div>
</body>
</html>
